package 一致性组合模式;

public abstract class Component {
	private String name;
    public abstract String showRelationship();
    public abstract void add(Component C);
    public abstract void remove(String str);
}
